package info.liuxing.bean;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * Cat
 *
 * @author liuxing
 * @summary Cat
 * @Copyright (c) 2018, Lianjia Group All Rights Reserved.
 * @since 2018-04-10 00:18
 */
@Slf4j
public class Cat implements InitializingBean, DisposableBean {

    public Cat() {
        log.info("Cat constructor...");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        log.info("Cat afterPropertiesSet...");
    }

    @Override
    public void destroy() throws Exception {
        log.info("Cat destroy...");
    }
}
